home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / tutor / dosguide.exe / HELPDOS.ZIP / ASSIGN.HLP < prev    next >
Text File  |  1985-09-10  |  2KB  |  38 lines

  1. ------------------------ ASSIGN - External DOS Command -------------------------
  2.  
  3. ASSIGN instructs DOS to use a disk drive other than the one specified.
  4.  
  5. FORMAT:   ASSIGN [x=y [...]]
  6.  
  7. REMARKS:
  8.  
  9.    "x" is the drive letter that current disk requests are sent to.
  10.    "y" is the drive letter that you want disk requests to be sent to.
  11.  
  12.    ASSIGN with no parameters resets all previous disk assignments back to
  13.    normal.
  14.  
  15. NOTES:  This command assists you in using applications whose disk assignments
  16.    (for program and text files) do not match your needs.  Suppose you have a
  17.    program that will read and write data only on the "B" drive.  If you want the
  18.    data to be written to the "C" drive, specify ASSIGN b=c.
  19.  
  20.    In DOS Version 3, you may preface ASSIGN with the drive letter and directory
  21.    path, [d:][path], where the command file can be found.
  22.  
  23. WARNING:  Take care to reset disk assignments to normal when the need for
  24.    re-assignment ends.  Otherwise you may forget that disks were re-assigned and
  25.    make a serious mistake.  For example, suppose you had assigned the A drive to
  26.    the C drive, via ASSIGN A=C.  If you then enter ERASE A:*.*, you would erase
  27.    all C drive files.  ASSIGN should be used ONLY when necessary.  It can "hide"
  28.    the true device from programs and commands that rely on the actual drive
  29.    information.  It should never be used with BACKUP, PRINT or for normal DOS
  30.    operations.
  31.  
  32. EXAMPLE:
  33.  
  34. Change disk assignments so that disk requests for the A drive will be sent to
  35. the C drive:
  36.  
  37.           ASSIGN A=C
  38.